<?php
session_start();

use evertcode\Util as Tools;

require_once '../../lib/class.util.php';

$tools = new Tools();

if ($_SESSION['userAgent'] !== md5($_SERVER['HTTP_USER_AGENT']) && $_SESSION['IPaddress'] !== $tools->ExtractUserIpAddress()) {
    header("location: ../?AccessNotAuthorized=:(");
    exit();
}
?>
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7 lt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8 lt8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> 

<html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>Agenda</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
        <meta name="description" content="" />
        <meta name="keywords" content= "" />
        <meta name="author" content="Evert Code" />
        <link rel="stylesheet" href="../../script/jquery/validationengine/validationEngine.jquery.css" type="text/css" />
        <link rel="stylesheet" type="text/css" media="screen" href="../../script/bootstrap/css/bootstrap.css" />
		<script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" language="javascript" src="js/funciones.js"></script>
		</head>

    <body>

        <div id="wrap">
            <div class="container">

				<div class="row">
				<?php include("../menu.php"); ?>
				</div>                
				
				<div class="row">
                    <div class="col-md">
                        <header id="titulo">
							<h3>Edición de Rubros</h3>
						</header>
						<article id="contenido"></article>
					</div>
                </div>
            </div>
        </div>
       <script type="text/javascript" src="../../script/jquery/validationengine/jquery.validationEngine-es.js"></script>
        <script type="text/javascript" src="../../script/jquery/validationengine/jquery.validationEngine.js" charset="utf-8"></script>
        <script src="../../script/bootstrap/js/bootstrap.min.js"></script>
    </body>
</html>